package cn.tedu.egarticle1.mapper;

import cn.tedu.egarticle1.pojo.entity.Article;
import cn.tedu.egarticle1.pojo.vo.ArticleVO;
import cn.tedu.egarticle1.pojo.vo.UserVO;
import org.apache.ibatis.annotations.Param;

public interface UserMapper {
    UserVO selectUser(@Param("username") String username,
                      @Param("password") String password);

    int  insert(Article article);

    ArticleVO selectByArticleId(Integer id);
}
